package com.example.test.factory.abstract_method.ali;

import com.example.test.factory.abstract_method.PayFactory;
import com.example.test.factory.abstract_method.RefundFactory;
import com.example.test.factory.abstract_method.SuperFactory;

/**
 * @author 晓果冻
 * @version 1.0
 * @date 2021/12/9 22:44
 */
public class AliFacorty implements SuperFactory {
    @Override
    public PayFactory creatPay() {
        return new AliPay();
    }

    @Override
    public RefundFactory createRefund() {
        return new AliRefund();
    }
}
